package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

/**
 * 员工的业务层接口
 */
public interface EmployeeService {


    ResultInfo login(String username, String password);


    List<Employee> findByName(String name);


    void  save(Employee employee);



    Employee findById(Long id);


    void  update(Employee employee);
}
